function astrology(month,day){
		var constellation = new Array();	
}
currentDate=new Date();
with (currentDate){
	year=getYear();
	day=getDay();
	month=getMonth()+1;

	if(year >= 2000)
		document.write(getYear()+'年'+month+'月'+getDate()+'日');
	if(year <= 99)
		document.write('19'+getYear()+'年'+month+'月'+getDate()+'日');
	if(year >= 100 && year < 2000){
		year=year-100+2000;
		document.write(year+'年'+month+'月'+getDate()+'日');}
	
	if(day==1){document.write('&nbsp;&nbsp;星期一&nbsp;&nbsp;');}
	else if(day==2){document.write('&nbsp;&nbsp;星期二&nbsp;&nbsp;');}
	else if(day==3){document.write('&nbsp;&nbsp;星期三&nbsp;&nbsp;');}
	else if(day==4){document.write('&nbsp;&nbsp;星期四&nbsp;&nbsp;');}
	else if(day==5){document.write('&nbsp;&nbsp;星期五&nbsp;&nbsp;');}
	else if(day==6){document.write('&nbsp;&nbsp;星期六&nbsp;&nbsp;');}
	else{document.write('&nbsp;&nbsp;星期日&nbsp;&nbsp;');}
	
	astrology(getMonth()+1,getDay());	//显示星座
}